<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" 
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4" 
      lang="cn">
  <head>
    <meta charset="UTF-8">
    <title>数据集管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    
     <link rel="shortcut icon" th:href="@{/favicon.ico}" type="image/x-icon" />
     <link rel="stylesheet" th:href="@{/jstree/themes/default/style.min.css}" />
    <link rel="stylesheet" th:href="@{/css/font-awesome.min.css}">
	<link rel="stylesheet" th:href="@{/css/xadmin.css}">
	<script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
	<script type="text/javascript" th:src="@{/js/pinyinUtil.js}"></script>
    <script type="text/javascript" th:src="@{/layui/layui.js}" charset="utf-8"></script>
    <script type="text/javascript" th:src="@{/js/xadmin.js}"></script>
    <script type="text/javascript" th:src="@{/js/common.js}"></script>
	<script type="text/javascript" th:src="@{/js/dataset-add.js}"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  
   <body>
    <div class="x-body">
  <div class="layui-form">
  
     <div class="layui-form-item">
              <label for="datasetName" class="layui-form-label" >
                  <span class="x-red">*</span>名称
              </label>
              <div class="layui-input-block">
                  <input type="text" id="datasetName" autocomplete="off" class="layui-input" maxlength="15">
              </div>
	</div>
	
	 <div class="layui-form-item">
              <label for="datasetCode" class="layui-form-label" >
                  <span class="x-red">*</span>编码
              </label>
              <div class="layui-input-block">
                  <input type="text" id="datasetCode" autocomplete="off" class="layui-input" maxlength="15">
              </div>
	 </div>
	 
	 <div class="layui-form-item">
			<label for="reuseType" class="layui-form-label" >是否可重用:</label>
					<div class="layui-input-inline">
					    <select id="datasetReuseType">
					       <option value="1">是</option>
					       <option value="2">否</option>
					    </select>
					</div>
	</div>
	
    <div class="layui-form-item">
              <label for="datasetType" class="layui-form-label">方式</label>
              <div class="layui-input-block">
                 <select id="datasetType">
				    <option value="1">自定义</option>
					<option value="2">数据库表</option>
				 </select>
              </div>
    </div>
    <div class="layui-form-item">
              <label for="datasetStatus" class="layui-form-label">状态</label>
              <div class="layui-input-block">
                 <select id="datasetStatus">
				    <option value="1">有效</option>
					<option value="2">无效</option>
				 </select>
              </div>
    </div>
   <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
		<legend>数据集</legend>
   </fieldset>
   <xblock>
        <button class="layui-btn"  id="add-btn" onclick="add()"><i class="layui-icon">&#xe654;</i>新增</button>
   </xblock>
   <div id="tab-div" style="max-height:300px;overflow-y:auto;">
      <div class="layui-tab" lay-filter="demo" lay-allowclose="true">
			 <ul class="layui-tab-title" id="para"></ul>
			 <div class="layui-tab-content" id="paraData"></div>
	  </div>
   
   </div>
<div class="layui-form-item" style="text-align:center;margin-top:10px;">
			<button id="save-btn"  class="layui-btn"  type="button">
			 <i class="fa fa-floppy-o" style="margin-right:10px;"></i>确定
			</button>
  </div>
</div>
</div>        
</body>
</html>